/* 全局样式 */
.none {
  display: none !important;
}

.hi-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;

}

.hi-video-wrapper * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

video[ishivideo="true"]::-webkit-media-controls {
  display: none !important;
}

video[ishivideo="true"]::-moz-media-controls {
  display: none !important;
}

video[ishivideo="true"]::-o-media-controls {
  display: none !important;
}

video[ishivideo="true"]::media-controls {
  display: none !important;
}

.hi-video {
  width: 100% !important;
  height: 100% !important;
  /*object-fit: fill !important;*/
  background: #242424;
}

.hi-video-playIcon {
  position: absolute;
  z-index: 10000;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

  width: 1rem;
  height: 1rem;
  background: url("./assets/play-big.png") no-repeat;
  background-size: 1rem 1rem;
  cursor: pointer;
}

.hi-video-playIcon.onBtn {
  display: block;
}

.hi-video-playIcon.offBtn {
  display: none;
}

.hi-video-controlbar {
  color: #fff;
  min-height: .4rem;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10000;
  padding: .1rem 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.hi-video-controlbar button {
  border: none;
  margin: 0;
  padding: 0;
  width: .32rem;
  height: .32rem;
  cursor: pointer;
}

.hi-video-controlbar input:active, .hi-video-controlbar input:hover, .hi-video-controlbar input:focus
.hi-video-controlbar button:active, .hi-video-controlbar button:hover, .hi-video-controlbar button:focus {
  border: none;
  outline: none;
}

.hi-video-controlbar .video-play {
  width: 5%;
  min-width: .05rem;
  text-align: center;
  cursor: pointer;
  vertical-align: middle;
}

.hi-video-controlbar .video-play .onBtn {
  background: url("./assets/play.png") no-repeat;
  background-size: 100% 100%;
}

.hi-video-controlbar .video-play .offBtn {
  background: url("./assets/pause.png") no-repeat;
  background-size: 100% 100%;
}

.hi-video-controlbar .progressbar {
  display: block;
  width: 100%;
  text-align: center;
}

.hi-video-controlbar .progressbar::-moz-progress-bar, .bufferbar::-moz-progress-bar {
  background: #62a8ff;
}

.hi-video-controlbar .progressbar::-webkit-progress-bar, .bufferbar::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.1);
}

.hi-video-controlbar .progressbar::-webkit-progress-value, .bufferbar::-webkit-progress-value {
  background: #62a8ff;
}

.hi-video-controlbar .video-slider {
  flex-grow: 1;
  min-width: .1rem;
  position: relative;
  margin: 0 0.2rem;
  z-index: 0;
  display: flex;
}

.hi-video-controlbar .seekbar {
  z-index: 3;
  position: relative;
  width: 100%;
  background-color: transparent !important;
}

.hi-video-controlbar .video-slider .progressbar {
  position: absolute;
  left: 0;
  top: .1rem;
  width: 100%;
  pointer-events: none;
  height: .04rem;
  z-index: 2;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #62a8ff;
}

.hi-video-controlbar input[type=range] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  cursor: pointer;
  outline: none;
  width: 100% !important;
}

.hi-video-controlbar input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 50%;
  height: .2rem;
  width: .2rem;
  background: white;
  border: solid 1px #ddd;
}

.custom-video-controlbar input[type=range]:active::-moz-range-track {
  background: orange;
}

.hi-video-controlbar .video-time {
  width: 1rem;
  font-size: .24rem;
  font-family: "PingFang SC-Regular";
  color: white;
  line-height: .2rem;
}

.hi-video-controlbar .video-time-left {
  text-align: left;
  padding-left: .3rem;
}

.hi-video-controlbar .video-time-right {
  text-align: right;
  padding-right: .3rem;
}

.hi-video-controlbar .volumebar {
  display: inline-block;
  width: 96%;
}

.hi-video-controlbar .video-mute {
  width: 5%;
  min-width: .05rem;
  text-align: center;
  cursor: pointer;
}

.hi-video-controlbar .video-mute .onBtn {
  background: url("./assets/volume.png");
  background-size: 0.3rem 0.3rem;
}

.hi-video-controlbar .video-mute .offBtn {
  background: url("./assets/mute.png") no-repeat;
  background-size: 0.3rem 0.3rem;
}

.hi-video-controlbar .video-volume {
  width: 15%;
  min-width: .1rem;
  overflow: hidden;
}

.hi-video-controlbar .video-fullscreen {
  width: .32rem;
  height: .32rem;
  text-align: center;
  cursor: pointer;
  margin-right: .3rem;
}

.hi-video-controlbar .video-fullscreen .onBtn {
  background: url("./assets/fullscreen.png") no-repeat;
  background-size: 100% 100%;
}

.hi-video-controlbar .video-fullscreen .offBtn {
  background: url("./assets/fullscreen_off.png") no-repeat;
  background-size: 0.3rem 0.3rem;
}

.rotate90 {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

.hi-video-wrapper .float {
  float: left;
}

.video-loading {
  background: url("./assets/loading.png") no-repeat;
  background-size: 0.6rem 0.6rem;
  width: 0.6rem !important;
  height: 0.6rem !important;
  animation: ani-video-loading 2s linear infinite;
  left: calc(50% - .3rem) !important;
  top: calc(50% - .3rem) !important;
  display: block !important;
}

/*.video-loading{*/
/*  display: block !important;*/
/*}*/
@keyframes ani-video-loading {
  from {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  to {
    transform: rotate(360deg);
  }
}
